<?php

namespace App\Kuafu\Sys\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class SysCodeEnum extends BaseCodeEnum
{
// 系统配置模块 - 输入异常405XXX
    public const ERR_SYSTEM_MENUS_PARAM_NAME      = 406001;
    public const ERR_SYSTEM_MENUS_PARAM_URL       = 406002;
    public const ERR_SYSTEM_MENUS_PARAM_PARENT_ID = 406003;
    public const ERR_SYSTEM_MENUS_PARAM_TYPE      = 406004;
    public const ERR_SYSTEM_MENUS_PARAM_STATUS    = 406005;
    public const ERR_SYSTEM_MENUS_PARAM_LOCATE    = 406006;
    public const ERR_SYSTEM_MENUS_PARAM           = 406007;
    public const ERR_SYSTEM_MENUS_PARAM_MENU_ID   = 406008;
    public const ERR_SYSTEM_MENUS_DELETE_ONE      = 406009;

    public const CODE_TEXT = [
        // 系统配置模块
        self::ERR_SYSTEM_MENUS_PARAM_NAME      => "系统菜单名称有误",
        self::ERR_SYSTEM_MENUS_PARAM_URL       => "系统菜单URL名称有误",
        self::ERR_SYSTEM_MENUS_PARAM_PARENT_ID => "系统菜单上级菜单有误",
        self::ERR_SYSTEM_MENUS_PARAM_TYPE      => "系统菜单类型有误",
        self::ERR_SYSTEM_MENUS_PARAM_STATUS    => "系统菜单状态有误",
        self::ERR_SYSTEM_MENUS_PARAM_LOCATE    => "系统菜单位置有误",
        self::ERR_SYSTEM_MENUS_PARAM_MENU_ID   => "该系统菜单有误",
        self::ERR_SYSTEM_MENUS_DELETE_ONE      => "该系统菜单下还有其他菜单, 不能删除",
    ];
}
